import { ElButtonsModule } from './../buttons/buttons.module';
import { RequestService } from './request.service';
import { ElProgressModule } from './../progress/progress.module';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { UploadComponent } from './upload.component';
import { FormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { UploadListComponent } from './upload-list.component';
import { UploadDraggerComponent } from './upload-dragger.component';

@NgModule({
  declarations: [UploadComponent, UploadListComponent, UploadDraggerComponent],
  imports: [
    CommonModule,
    FormsModule,
    HttpClientModule,
    ElProgressModule,
    ElButtonsModule
  ],
  providers:[RequestService],
  exports: [UploadComponent],
})
export class ElUploadModule { }
